<ui:component xmlns="http://www.w3.org/1999/xhtml"
              xmlns:ui="http://java.sun.com/jsf/facelets"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:c="http://java.sun.com/jstl/core"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:rich="http://richfaces.org/rich"
              xmlns:a4j="http://richfaces.org/a4j"
              xmlns:common="http://www.contact.common.com/contacts/ui"
              xmlns:core="http://www.contact.core.com/contacts/core/ui"
        >



        <rich:panel bodyClass="rich-laguna-panel-no-header" style="border:none">
            <!--<h:panelGrid columns="1" cellpadding="0" style="width:100%" cellspacing="0">-->
                <!--<a4j:outputPanel style="float:left; margin-top:10px; margin-bottom:15px" layout="block">-->
                    <!--<h:outputText value="Mailbox"/>-->
                <!--</a4j:outputPanel>-->

                <!--<h:outputText value="Search" style="margin-right: 10px;"/>-->
                <!--<h:inputText id="filterInput" autocomplete="on" value="#{mailSessionBean.filterConversationList}">-->

                <!--</h:inputText>-->
            <h:form>
                      <core:searchTable value="#{mailSessionBean.filterConversationList}"
                                          label="#{resources.mailboxSearchMailboxLabel}"
                                          reRender="#{rich:clientId('mailConversationList')}"
                               />


            </h:form>

            <h:form>
            <!--<rich:panel style="overflow:auto;  border:none" bodyClass="rich-laguna-panel-no-header">-->
            <rich:panelMenu style="width:100%"
                            iconExpandedGroup="disc" iconCollapsedGroup="disc"
                            iconExpandedTopGroup="chevronUp" iconGroupTopPosition="right"
                            iconCollapsedTopGroup="chevronDown">


                <rich:panelMenuItem label="#{resources.mailboxInboxViewButton}"
                                    reRender="mail_form:mailConversationList"

                                    action="#{controlConversationBean.inboxConversations}"
                                    limitToList="true"/>

                <rich:panelMenuItem label="#{resources.mailboxOutboxViewButton}"
                                    reRender="mail_form:mailConversationList"
                                    action="#{controlConversationBean.outboxConversations}"
                                    limitToList="true"/>

            </rich:panelMenu>
            </h:form>
        </rich:panel>


</ui:component>
